/* Author :	Putri Andita R   091511059
 * Proyek 4*/


package jtk.project4.fleet.event;

import java.util.List;



import jtk.project4.fleet.domain.SchData;
import jtk.project4.fleet.domain.Schedules;
import jtk.project4.fleet.event.PMScheduleSetupEvent.PMScheduleSetupEventType;
import nl.coderight.jazz.Event;


public class PMScheduleSetupEvent extends Event<PMScheduleSetupEventType>{
	
	private List<Schedules> schedules;
	private List<SchData> schData;
	public enum PMScheduleSetupEventType{
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, VIEW, NEW, SAVE;
	}
	
	public PMScheduleSetupEvent(PMScheduleSetupEventType type){
		super(type);
	}

	public void setSchedules(List<Schedules> schedules) {
		this.schedules = schedules;
	}

	public List<Schedules> getSchedules() {
		return schedules;
	}

	public void setSchData(List<SchData> schData) {
		this.schData = schData;
	}

	public List<SchData> getSchData() {
		return schData;
	}

	
}
